package com.zxcl.dto;

import com.zxcl.domain.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@ApiModel("修改用户入参")
public class SysUserUpdateDTO extends SysUser{

    @ApiModelProperty("选择的角色ID")
    @NotEmpty(message = "请至少选择一个角色")
    private List<Long> roleIdList;
}

